Skip to content

Fix org permission API visibility checks for hidden members and private orgs (#36798)#36841

Open
lunny wants to merge 2 commits intogo-gitea:release/v1.25from
lunny:lunny/backport_36798
Open

Fix org permission API visibility checks for hidden members and private orgs (#36798)#36841
lunny wants to merge 2 commits intogo-gitea:release/v1.25from
lunny:lunny/backport_36798

Conversation

@lunny
Copy link
Member

@lunny lunny commented Mar 6, 2026

backport #36798

  • fix wrong parameter of HasOrgOrUserVisible in routers/api/v1/org/org.go
  • add integration tests covering the bug fix
  • merge permissions API tests

Generated by a coding agent with Codex 5.2

…te orgs (go-gitea#36798)

- fix wrong parameter of HasOrgOrUserVisible in
routers/api/v1/org/org.go
- add integration tests covering the bug fix
- merge permissions API tests

---
Generated by a coding agent with Codex 5.2
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Mar 6, 2026
@GiteaBot GiteaBot added this to the 1.25.5 milestone Mar 6, 2026
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code labels Mar 6, 2026
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Mar 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 1 This PR needs approval from one additional maintainer to be merged. modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants